package com.ssm.xm.model;

import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Component
public class ThSalary implements Serializable {
    private Integer thSalaryId;

    private Integer thId;

    private Integer staThId;

    private Double totalSalary;

    private Double deductSalary;

    private Double realSalary;

    private String isUesd;

    private Date thSalaryTime;

    private String thRemark;

    private static final long serialVersionUID = 1L;

    public Integer getThSalaryId() {
        return thSalaryId;
    }

    public void setThSalaryId(Integer thSalaryId) {
        this.thSalaryId = thSalaryId;
    }

    public Integer getThId() {
        return thId;
    }

    public void setThId(Integer thId) {
        this.thId = thId;
    }

    public Integer getStaThId() {
        return staThId;
    }

    public void setStaThId(Integer staThId) {
        this.staThId = staThId;
    }

    public Double getTotalSalary() {
        return totalSalary;
    }

    public void setTotalSalary(Double totalSalary) {
        this.totalSalary = totalSalary;
    }

    public Double getDeductSalary() {
        return deductSalary;
    }

    public void setDeductSalary(Double deductSalary) {
        this.deductSalary = deductSalary;
    }

    public Double getRealSalary() {
        return realSalary;
    }

    public void setRealSalary(Double realSalary) {
        this.realSalary = realSalary;
    }

    public String getIsUesd() {
        return isUesd;
    }

    public void setIsUesd(String isUesd) {
        this.isUesd = isUesd == null ? null : isUesd.trim();
    }

    public Date getThSalaryTime() {
        return thSalaryTime;
    }

    public void setThSalaryTime(Date thSalaryTime) {
        this.thSalaryTime = thSalaryTime;
    }

    public String getThRemark() {
        return thRemark;
    }

    public void setThRemark(String thRemark) {
        this.thRemark = thRemark == null ? null : thRemark.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", thSalaryId=").append(thSalaryId);
        sb.append(", thId=").append(thId);
        sb.append(", staThId=").append(staThId);
        sb.append(", totalSalary=").append(totalSalary);
        sb.append(", deductSalary=").append(deductSalary);
        sb.append(", realSalary=").append(realSalary);
        sb.append(", isUesd=").append(isUesd);
        sb.append(", thSalaryTime=").append(thSalaryTime);
        sb.append(", thRemark=").append(thRemark);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}